package org.example.config;

import lombok.extern.slf4j.Slf4j;
import org.example.aop.RateLimiterAOP;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author liyishan
 * @date 2024/2/18 17:38
 * @apiNote
 */
@Slf4j
@Configuration
public class RateLimiterAOPConfig {
    @Bean
    public RateLimiterAOP rateLimiter(){
        return new RateLimiterAOP();
    }
}
